-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update --help #282
Update --help #282
Conversation
src/Runner.Listener/Runner.cs
Outdated
_term.WriteLine($@" --windowslogonpassword string Password for the service account. Requires runasservice"); | ||
#endif | ||
_term.WriteLine($@" | ||
Run Options: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest taking the --once
option out, since run once is not fully working due to race condition on the server-side.
@bryanmacfarlane for input.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed it for now. It can easily be added back when we are ready to release/support it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we add it back, it would likely be something like --ephemeral. keep it gone for now. we should also delete the code supporting once in a separate PR since it was the wrong pattern
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great update! I think this will prevent a lot of users from having to resort to the documentation if they are have started using self-hosted runners without any previous assistance.
I don't think any docs update is required for this, but let me know if you disagree 🙂
* Update --help * Tiny indent * Remove once option
Updates --help document to separate out common/config/run options that are exposed by these helper scripts
Separates options that are only useful on Windows (for running as service)
Omits internal binary flags that arent a public api, monitorsocketaddress and startuptype.
Omits auth because I think only one auth type is supported right now.
Omits username and pool which seem to be unused.
Provides basic examples for common scenarios (unattended, scripted setup)
Windows/Unix: